<!-- 审批弹窗 -->
<template>
    <el-dialog title="提示" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">
        <div>
            1
        </div>
        <span slot="footer" class="dialog-footer">
            <el-button @click="dialogVisible = false">取 消</el-button>
            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
        </span>
    </el-dialog>

</template>
<script>
export default {
    data() {
        return {
            dialogVisible: false
        }
    },
    methods: {
        handleClose(done) {
            this.dialogVisible = false
        },
        // 打开弹窗
        openDialog() {
            this.dialogVisible = true
        },
    }
}
</script>
<style lang="less" scoped></style>